<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script>
    let arr=[12,5,8,99,27,36,75,11];

    let result=arr.filter(item=>{
      if(item%3==0){
        return true;
      }else{
        return false;
      }
    });

    alert(result);
    </script>
  </head>
  <body>

  </body>
</html>
